package com.rs.admin.sys.org.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * <p>
 * 单位详情表
 * </p>
 *
 * @author hedonglin
 * @since 2017-12-20
 */
@TableName("org_organization_detail")
public class OrganizationDetail extends Model<OrganizationDetail> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 单位编号
     */
	@TableField("organization_id")
	private Long organizationId;
    /**
     * 单位性质
     */
	private Integer nature;
    /**
     * 所属行业
            
     */
	private String Industry;
    /**
     * 所属区域
     */
	private String region;
    /**
     * 营业执照附件
     */
	@TableField("business_license")
	private String businessLicense;
    /**
     * 单位银行账号
     */
	@TableField("bank_account")
	private String bankAccount;
    /**
     * 开户行
     */
	@TableField("opening_bank")
	private String openingBank;
    /**
     * 备注
     */
	private String remark;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getOrganizationId() {
		return organizationId;
	}

	public void setOrganizationId(Long organizationId) {
		this.organizationId = organizationId;
	}

	public Integer getNature() {
		return nature;
	}

	public void setNature(Integer nature) {
		this.nature = nature;
	}

	public String getIndustry() {
		return Industry;
	}

	public void setIndustry(String Industry) {
		this.Industry = Industry;
	}

	public String getRegion() {
		return region;
	}

	public void setRegion(String region) {
		this.region = region;
	}

	public String getBusinessLicense() {
		return businessLicense;
	}

	public void setBusinessLicense(String businessLicense) {
		this.businessLicense = businessLicense;
	}

	public String getBankAccount() {
		return bankAccount;
	}

	public void setBankAccount(String bankAccount) {
		this.bankAccount = bankAccount;
	}

	public String getOpeningBank() {
		return openingBank;
	}

	public void setOpeningBank(String openingBank) {
		this.openingBank = openingBank;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "OrganizationDetail{" +
			", id=" + id +
			", organizationId=" + organizationId +
			", nature=" + nature +
			", Industry=" + Industry +
			", region=" + region +
			", businessLicense=" + businessLicense +
			", bankAccount=" + bankAccount +
			", openingBank=" + openingBank +
			", remark=" + remark +
			"}";
	}
}
